package cn.wolfcode.education.mapper;

import cn.wolfcode.education.domain.NetDisk;

import java.util.List;

public interface NetDiskMapper {
    int deleteByPrimaryKey(Long id);

    int insert(NetDisk record);

    NetDisk selectByPrimaryKey(Long id);

    List<NetDisk> selectAll();

    int updateByPrimaryKey(NetDisk record);

    //查看所有根目录
    List<NetDisk> getAllParentNetDisk();

    void deleteAllChildren(Long id);

    //查看 所有当前用户所拥有的目录文件
    List<NetDisk> queryAllParentByEmployee(Long id);
}